package com.lawyer.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 数据字典表
 * </p>
 *
 * @author D.Wzq
 * @since 2018-07-18
 */
@TableName("t_data_dictionary_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DataDictionaryInfo extends Model<DataDictionaryInfo> {

    private static final long serialVersionUID = 1L;

	@TableId(value="data_dictionary_id", type= IdType.AUTO)
	private Long dataDictionaryId;
    /**
     * 字典类型
     */
	private String dictionaryType;
    /**
     * 字典名称
     */
	private String dictionaryName;
    /**
     * 字典描述
     */
	private String dictionaruDescription;
    /**
     * 是否删除 1：是  0：否
     */
	private Integer isDelete;
	/**
	 * 创建时间
	 */
	@TableField("create_time")
	private Date createTime;
	/**
	 * 更新时间
	 */
	@TableField("update_time")
	private Date updateTime;

	public Long getDataDictionaryId() {
		return dataDictionaryId;
	}

	public void setDataDictionaryId(Long dataDictionaryId) {
		this.dataDictionaryId = dataDictionaryId;
	}

	public String getDictionaryType() {
		return dictionaryType;
	}

	public void setDictionaryType(String dictionaryType) {
		this.dictionaryType = dictionaryType;
	}

	public String getDictionaryName() {
		return dictionaryName;
	}

	public void setDictionaryName(String dictionaryName) {
		this.dictionaryName = dictionaryName;
	}

	public String getDictionaruDescription() {
		return dictionaruDescription;
	}

	public void setDictionaruDescription(String dictionaruDescription) {
		this.dictionaruDescription = dictionaruDescription;
	}

	public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.dataDictionaryId;
	}

}
